package com.etpjava.dao;

import java.util.Date;
import java.util.List;

import com.etpjava.model.Employee;
import com.etpjava.model.Reward;

public interface RewardDao {
	
	public Reward findById(int id);
	
	public List<Reward> findByTitle(String title);
	public List<Reward> findByTitle(String title ,int st);
	
	public List<Reward> findByType(String type);
	public List<Reward> findByType(String type ,int st);
	
	
	public List<Reward> findByTime(Date time);
	public List<Reward> findByTime(Date time ,int st);
	
	public List<Reward> findByContent(String content);
	public List<Reward> findByContent(String content ,int st);
	
	public List<Reward> findByPenalty(float penalty);
	public List<Reward> findByPenalty(float penalty ,int st);
	
	
	
	public List<Reward> findAll();
	public List<Reward> findAll(int st);
	
	
	public void  save(Reward cj);
	
	public void delete(Reward cj);
		
	public void update(Reward cj);

}
